package com.smart.sso.server.service;

import java.util.List;

import com.smart.sso.server.model.App;
import com.smart.sso.server.model.RoleApp;

public interface RoleAppService {

	public List<RoleApp> findByRoleAppId(Integer roleId , Integer appId);
	
	public List<App> findByRoleId(Integer roleId);
	
	public void allocate(Integer roleId , List<Integer> appIdList);
	
	public void add(Integer  roleId , Integer appId);
	
	public void deleteByRoleIds(List<Integer> idList);
	
	public void deleteByAppIds(List<Integer> idList);
}
